package fachlogikhotel;

import java.io.Serializable;

public class Tester  implements Serializable
{
	
	private static final long serialVersionUID = 1L;
	private int id;
	private String vorname;
	private String nachname;
	private String adresse;
	private int hausnummer;

	
	public Tester(String text, String text2, String text3,
			int parseInt2) 
	{
		setVorname(text);
		setNachname(text2);
		setAdresse(text3);
		setHausnummer(parseInt2);
		
	}


	public Tester() 
	{
		// TODO Auto-generated constructor stub
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getVorname() {
		return vorname;
	}


	public String setVorname(String vorname) {
		return this.vorname = vorname;
	}


	public String getNachname() {
		return nachname;
	}


	public String setNachname(String nachname) {
		return this.nachname = nachname;
	}


	public String getAdresse() {
		return adresse;
	}


	public String setAdresse(String adresse) {
		return this.adresse = adresse;
	}


	public int getHausnummer() {
		return hausnummer;
	}


	public Integer setHausnummer(int hausnummer) 
	{

		return this.hausnummer = hausnummer;
	}
	
	public String toString()
	
	{
		String b="";
		b = ("Tester: " + vorname +" / "+ "Hausnummer: " + hausnummer);
		return b;
	}

}
